#ifndef PHYSICSOBJECT_H_
#define PHYSICSOBJECT_H_

#include "OgreCoreHeaders.h"

class PhysicsObject{
public:
	PhysicsObject(Ogre::SceneManager* mSceneMgr,Ogre::Entity* ent,btRigidBody* body,float scale,btDynamicsWorld* world);
	virtual ~PhysicsObject();

	void update();

	float getYLoc() {return body->getCenterOfMassPosition().y();};

	btRigidBody* body;
	Ogre::SceneNode* node;
protected:

	Ogre::Entity* entity;


	btDynamicsWorld* world;


	Ogre::SceneManager* mSceneMgr;
	float scale;



};


#endif /* PHYSICSOBJECT_H_ */
